from django.contrib import admin

# Register your models here.
from apitest.models import Apis
from product.models import Product

class ProductAdmin(admin.ModelAdmin):
    listdisplay = ['productname', 'productdesc','producter','created_time','id']

class ApisAdmin(admin.TabularInline):
    list_display = ['apiname', 'apiurl', 'apiparamvalue', 'apimethod', 'apiresult','apistatus','created_time','id','product']
    model = Apis
    extra = 1

admin.site.register(Product)